package com.zyl.blog.common.domain.task.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @version v1.0
 * @ProjectName: Personal_Blog_Server
 * @Package: com.zyl.blog.common.domain.task.vo
 * @ClassName: TaskOperationResult
 * @Description: 任务操作结果视图对象
 * @Author FinalFantasy
 * @Date 2025/8/12-10:25
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class TaskOperationResult {

    private Boolean success;
    private String message;
    private String taskName;

    public Boolean isSuccess() {
        return success;
    }

}
